home *** CD-ROM | disk | FTP | other *** search
- /******************************************************************/
- /* */
- /* TurboCAD for Windows */
- /* Copyright (c) 1993 - 2001 */
- /* International Microcomputer Software, Inc. */
- /* (IMSI) */
- /* All rights reserved. */
- /* */
- /******************************************************************/
-
- #if !defined(AFX_VIEWWND_H__101E4613_73CC_11D2_82DA_006052012837__INCLUDED_)
- #define AFX_VIEWWND_H__101E4613_73CC_11D2_82DA_006052012837__INCLUDED_
-
- #if _MSC_VER >= 1000
- #pragma once
- #endif // _MSC_VER >= 1000
- // ViewWnd.h : header file
- //
-
- /////////////////////////////////////////////////////////////////////////////
- // CPreviewWnd window
-
- class CPreviewWnd : public CWnd
- {
- // Construction
- public:
- CPreviewWnd();
-
- // Attributes
- public:
- IDrawing *m_pPreviewDrawing;
- View *m_pPreviewView;
-
- IGraphic *m_pPreviewGraphic;
- Graphics *m_pPreviewGrs;/// = NULL;
-
- Views *m_pViewsCol;
- IApplication *m_pIApp;/// = NULL;
- Drawings *m_pDrawCol;
-
-
- BOOL m_FirstStart;
- APPDRAWINGNEWEX m_pfAppDwgNew;
- APPGETCURRENTAPP m_pfGetApp;
- long m_lApp;
- long m_lDwg;
- CString m_cstrSelected;
-
-
- // Operations
- public:
-
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CPreviewWnd)
- //}}AFX_VIRTUAL
-
- // Implementation
- // Zoom to the extents of the drawing and refresh the window
- void ZoomAndInvalidate();
-
-
-
- public:
- void DoPreview();
- void ClearAll();
- void Clear();
- void DisplayPreview();
- void CreatePreview();
- virtual ~CPreviewWnd();
-
- // Generated message map functions
- protected:
- //{{AFX_MSG(CPreviewWnd)
- afx_msg void OnPaint();
- afx_msg BOOL OnEraseBkgnd(CDC* pDC);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
-
- /////////////////////////////////////////////////////////////////////////////
-
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
-
- #endif // !defined(AFX_VIEWWND_H__101E4613_73CC_11D2_82DA_006052012837__INCLUDED_)
-